/**
 *
 */
package fr.beans;

/**
 * @author Caroline Lavaure
 * Project : Caroline aloe vera
 * 9 juil. 2013
 */
public class User extends ABeans {

	/* ************************************* */
	/*               PROPERTIES              */
	/* ************************************* */
	/**
	 * the field String.
	 */
	private String identifiant;
	
	/**
	 * the field String.
	 */
	private String motDePasse;
	
	/**
	 * the field String.
	 */
	private String role;

	/* ************************************* */
	/*               GETTER & SETTER         */
	/* ************************************* */
	/**
	 * @return the identifiant
	 */
	public  String getIdentifiant() {
		return identifiant;
	}
	/**
	 * @param pidentifiant .
	 */
	public  void setIdentifiant(final String pIdentifiant) {
		this.identifiant = pIdentifiant;
	}

	/**
	 * @return the motDePasse
	 */
	public  String getMotDePasse() {
		return motDePasse;
	}
	/**
	 * @param pMotDePasse .
	 */
	public  void setMotDePasse(final String pMotDePasse) {
		this.motDePasse = pMotDePasse;
	}

	/**
	 * @return the role
	 */
	public  String getRole() {
		return role;
	}
	/**
	 * @param pRole .
	 */
	public void setRole(final String pRole) {
		this.role = pRole;
	}
	
	
	/* ************************************* */
	/*               AUTRES METHODES         */
	/* ************************************* */
	
	@Override
	public String toString() {
		return "User [identifiant=" + identifiant + ", motDePasse="
				+ motDePasse + ", role=" + role + "]";
	}
}
